$data.Entity.extend('Reponse', {
	id: { type: 'int', key: true, required: true},	
	libelle: { type: 'string',required: true },
	bonne: { type: 'boolean',required: true},	
	question_id: { type: 'int',required: true}	
});

function getValueReponses(BD,champs,valeur){
	return BD.Reponses.filter('it.'+champs+' == '+valeur).toArray();
}